<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item
      >
      <router-link :to="Path">{{pathName}}</router-link>
      </el-breadcrumb-item
    >
    <el-breadcrumb-item>美食</el-breadcrumb-item>
   
  </el-breadcrumb>
</template>
<script setup>
import {defineProps} from 'vue'
const  props = defineProps({
     Path:{
        type:String,
        defauit:'/'
     },
     pathName:{
         type:String,
         defauit:''
     }
})
</script>